package demo2;

public class KeyBoard implements USB {
    @Override
    public void openDevice() {
        System.out.println("键盘开始工作表");
    }
    public void input(){
        System.out.println("敲击键盘");
    }
    @Override
    public void closeDevice() {
        System.out.println("键盘停止工作");
    }
}
